Optimal. Leaf size=577 \[ \frac{2 i b \sqrt{1-c^2 x^2} \text{PolyLog}\left (2,-e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{2 i b \sqrt{1-c^2 x^2} \text{PolyLog}\left (2,e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{7 i b^2 \sqrt{1-c^2 x^2} \text{PolyLog}\left (2,-i e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}+\frac{7 i b^2 \sqrt{1-c^2 x^2} \text{PolyLog}\left (2,i e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 b^2 \sqrt{1-c^2 x^2} \text{PolyLog}\left (3,-e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{2 b^2 \sqrt{1-c^2 x^2} \text{PolyLog}\left (3,e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{b c x \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{1-c^2 x^2} \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{14 i b \sqrt{1-c^2 x^2} \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 \sqrt{1-c^2 x^2} \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac{b^2}{3 d^2 \sqrt{d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.860139, antiderivative size = 577, normalized size of antiderivative = 1., number of steps used = 25, number of rules used = 13, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.448, Rules used = {4705, 4713, 4709, 4183, 2531, 2282, 6589, 4657, 4181, 2279, 2391, 4655, 261} \[ \frac{2 i b \sqrt{1-c^2 x^2} \text{PolyLog}\left (2,-e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{2 i b \sqrt{1-c^2 x^2} \text{PolyLog}\left (2,e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{7 i b^2 \sqrt{1-c^2 x^2} \text{PolyLog}\left (2,-i e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}+\frac{7 i b^2 \sqrt{1-c^2 x^2} \text{PolyLog}\left (2,i e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 b^2 \sqrt{1-c^2 x^2} \text{PolyLog}\left (3,-e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{2 b^2 \sqrt{1-c^2 x^2} \text{PolyLog}\left (3,e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{b c x \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{1-c^2 x^2} \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{14 i b \sqrt{1-c^2 x^2} \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 \sqrt{1-c^2 x^2} \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac{b^2}{3 d^2 \sqrt{d-c^2 d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4705
Rule 4713
Rule 4709
Rule 4183
Rule 2531
Rule 2282
Rule 6589
Rule 4657
Rule 4181
Rule 2279
Rule 2391
Rule 4655
Rule 261
Rubi steps
\begin{align*} \int \frac{\left (a+b \sin ^{-1}(c x)\right )^2}{x \left (d-c^2 d x^2\right )^{5/2}} \, dx &=\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac{\int \frac{\left (a+b \sin ^{-1}(c x)\right )^2}{x \left (d-c^2 d x^2\right )^{3/2}} \, dx}{d}-\frac{\left (2 b c \sqrt{1-c^2 x^2}\right ) \int \frac{a+b \sin ^{-1}(c x)}{\left (1-c^2 x^2\right )^2} \, dx}{3 d^2 \sqrt{d-c^2 d x^2}}\\ &=-\frac{b c x \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{1-c^2 x^2} \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{\int \frac{\left (a+b \sin ^{-1}(c x)\right )^2}{x \sqrt{d-c^2 d x^2}} \, dx}{d^2}-\frac{\left (b c \sqrt{1-c^2 x^2}\right ) \int \frac{a+b \sin ^{-1}(c x)}{1-c^2 x^2} \, dx}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{\left (2 b c \sqrt{1-c^2 x^2}\right ) \int \frac{a+b \sin ^{-1}(c x)}{1-c^2 x^2} \, dx}{d^2 \sqrt{d-c^2 d x^2}}+\frac{\left (b^2 c^2 \sqrt{1-c^2 x^2}\right ) \int \frac{x}{\left (1-c^2 x^2\right )^{3/2}} \, dx}{3 d^2 \sqrt{d-c^2 d x^2}}\\ &=\frac{b^2}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{b c x \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{1-c^2 x^2} \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{\sqrt{1-c^2 x^2} \int \frac{\left (a+b \sin ^{-1}(c x)\right )^2}{x \sqrt{1-c^2 x^2}} \, dx}{d^2 \sqrt{d-c^2 d x^2}}-\frac{\left (b \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int (a+b x) \sec (x) \, dx,x,\sin ^{-1}(c x)\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{\left (2 b \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int (a+b x) \sec (x) \, dx,x,\sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}\\ &=\frac{b^2}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{b c x \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{1-c^2 x^2} \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{14 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}+\frac{\sqrt{1-c^2 x^2} \operatorname{Subst}\left (\int (a+b x)^2 \csc (x) \, dx,x,\sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{\left (b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \log \left (1-i e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{\left (b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \log \left (1+i e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{3 d^2 \sqrt{d-c^2 d x^2}}+\frac{\left (2 b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \log \left (1-i e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{\left (2 b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \log \left (1+i e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}\\ &=\frac{b^2}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{b c x \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{1-c^2 x^2} \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{14 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{\left (2 b \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int (a+b x) \log \left (1-e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{\left (2 b \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int (a+b x) \log \left (1+e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{\left (i b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}+\frac{\left (i b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{\left (2 i b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{\left (2 i b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}\\ &=\frac{b^2}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{b c x \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{1-c^2 x^2} \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{14 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{2 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (-e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{7 i b^2 \sqrt{1-c^2 x^2} \text{Li}_2\left (-i e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}+\frac{7 i b^2 \sqrt{1-c^2 x^2} \text{Li}_2\left (i e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{\left (2 i b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (-e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{\left (2 i b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{d^2 \sqrt{d-c^2 d x^2}}\\ &=\frac{b^2}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{b c x \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{1-c^2 x^2} \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{14 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{2 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (-e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{7 i b^2 \sqrt{1-c^2 x^2} \text{Li}_2\left (-i e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}+\frac{7 i b^2 \sqrt{1-c^2 x^2} \text{Li}_2\left (i e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{\left (2 b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(-x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{\left (2 b^2 \sqrt{1-c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}\\ &=\frac{b^2}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{b c x \left (a+b \sin ^{-1}(c x)\right )}{3 d^2 \sqrt{1-c^2 x^2} \sqrt{d-c^2 d x^2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{3 d \left (d-c^2 d x^2\right )^{3/2}}+\frac{\left (a+b \sin ^{-1}(c x)\right )^2}{d^2 \sqrt{d-c^2 d x^2}}+\frac{14 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{2 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (-e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{7 i b^2 \sqrt{1-c^2 x^2} \text{Li}_2\left (-i e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}+\frac{7 i b^2 \sqrt{1-c^2 x^2} \text{Li}_2\left (i e^{i \sin ^{-1}(c x)}\right )}{3 d^2 \sqrt{d-c^2 d x^2}}-\frac{2 i b \sqrt{1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}-\frac{2 b^2 \sqrt{1-c^2 x^2} \text{Li}_3\left (-e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}+\frac{2 b^2 \sqrt{1-c^2 x^2} \text{Li}_3\left (e^{i \sin ^{-1}(c x)}\right )}{d^2 \sqrt{d-c^2 d x^2}}\\ \end{align*}
Mathematica [A] time = 8.64443, size = 935, normalized size = 1.62 \[ \text{result too large to display} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.319, size = 1373, normalized size = 2.4 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{-c^{2} d x^{2} + d}{\left (b^{2} \arcsin \left (c x\right )^{2} + 2 \, a b \arcsin \left (c x\right ) + a^{2}\right )}}{c^{6} d^{3} x^{7} - 3 \, c^{4} d^{3} x^{5} + 3 \, c^{2} d^{3} x^{3} - d^{3} x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \arcsin \left (c x\right ) + a\right )}^{2}}{{\left (-c^{2} d x^{2} + d\right )}^{\frac{5}{2}} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]